package models

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Account string `gorm:"type:varchar(30);not null;comment:用户账号"`
}

func (u *User) FindUserById() error {
	return DB.Debug().First(&u).Error
}
